
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>004_http请求 · 瑕家瑾轩_Note</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="xiajiajinxuan">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-auto-scroll-table/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="005_NULL处理.html" />
    
    
    <link rel="prev" href="003_数据库启停.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../001_git教程/001_安装配置.html">
            
                <a href="../001_git教程/001_安装配置.html">
            
                    
                    001_git教程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../001_git教程/001_安装配置.html">
            
                <a href="../001_git教程/001_安装配置.html">
            
                    
                    001_安装配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../001_git教程/002_git常用语句及流程.html">
            
                <a href="../001_git教程/002_git常用语句及流程.html">
            
                    
                    002_git常用语句及流程
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../002_gitbook教程/001_安装配置及使用.html">
            
                <a href="../002_gitbook教程/001_安装配置及使用.html">
            
                    
                    002_gitbook教程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../002_gitbook教程/001_安装配置及使用.html">
            
                <a href="../002_gitbook教程/001_安装配置及使用.html">
            
                    
                    001_安装配置及使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../002_gitbook教程/002_生成文件目录.html">
            
                <a href="../002_gitbook教程/002_生成文件目录.html">
            
                    
                    002_生成文件目录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../003_typora/001_typora-markdown语法.html">
            
                <a href="../003_typora/001_typora-markdown语法.html">
            
                    
                    003_typora
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../003_typora/001_typora-markdown语法.html">
            
                <a href="../003_typora/001_typora-markdown语法.html">
            
                    
                    001_typora-markdown语法
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="001_ORACLE关键字执行顺序.html">
            
                <a href="001_ORACLE关键字执行顺序.html">
            
                    
                    004_Oracle
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="001_ORACLE关键字执行顺序.html">
            
                <a href="001_ORACLE关键字执行顺序.html">
            
                    
                    001_ORACLE关键字执行顺序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="002_关键字_between.html">
            
                <a href="002_关键字_between.html">
            
                    
                    002_关键字_between
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="003_数据库启停.html">
            
                <a href="003_数据库启停.html">
            
                    
                    003_数据库启停
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.4" data-path="004_http请求.html">
            
                <a href="004_http请求.html">
            
                    
                    004_http请求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="005_NULL处理.html">
            
                <a href="005_NULL处理.html">
            
                    
                    005_NULL处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="006_交集_并集_差集.html">
            
                <a href="006_交集_并集_差集.html">
            
                    
                    006交集并集_差集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="007_字符处理.html">
            
                <a href="007_字符处理.html">
            
                    
                    007_字符处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="008_字符排序.html">
            
                <a href="008_字符排序.html">
            
                    
                    008_字符排序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="009_定时任务.html">
            
                <a href="009_定时任务.html">
            
                    
                    009_定时任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="010_数字处理.html">
            
                <a href="010_数字处理.html">
            
                    
                    010_数字处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="011_序列流水号.html">
            
                <a href="011_序列流水号.html">
            
                    
                    011_序列流水号
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="012_时间日期处理.html">
            
                <a href="012_时间日期处理.html">
            
                    
                    012_时间日期处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="013_死锁.html">
            
                <a href="013_死锁.html">
            
                    
                    013_死锁
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="014_邮件发送.html">
            
                <a href="014_邮件发送.html">
            
                    
                    014_邮件发送
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="015_转义字符.html">
            
                <a href="015_转义字符.html">
            
                    
                    015_转义字符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="016_触发器.html">
            
                <a href="016_触发器.html">
            
                    
                    016_触发器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.17" data-path="017_同义词.html">
            
                <a href="017_同义词.html">
            
                    
                    017_同义词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.18" data-path="018_json解析.html">
            
                <a href="018_json解析.html">
            
                    
                    018_json解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.19" data-path="019_文件读写.html">
            
                <a href="019_文件读写.html">
            
                    
                    019_文件读写
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.20" data-path="020_用户创建及授权.html">
            
                <a href="020_用户创建及授权.html">
            
                    
                    020_用户创建及授权
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.21" data-path="021_中文字符验证.html">
            
                <a href="021_中文字符验证.html">
            
                    
                    021_中文字符验证
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../005_EBS/001_ebs模块.html">
            
                <a href="../005_EBS/001_ebs模块.html">
            
                    
                    005_EBS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../005_EBS/001_ebs模块.html">
            
                <a href="../005_EBS/001_ebs模块.html">
            
                    
                    001_ebs模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../005_EBS/002_API列表.html">
            
                <a href="../005_EBS/002_API列表.html">
            
                    
                    002_API列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../005_EBS/003_FND_GLOBAL和FND_PROFILE.html">
            
                <a href="../005_EBS/003_FND_GLOBAL和FND_PROFILE.html">
            
                    
                    003_FND_GLOBAL和FND_PROFILE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../005_EBS/004_IE相关设置.html">
            
                <a href="../005_EBS/004_IE相关设置.html">
            
                    
                    004_IE相关设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../005_EBS/005_MOAC.html">
            
                <a href="../005_EBS/005_MOAC.html">
            
                    
                    005_MOAC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../005_EBS/006_描述性弹性域.html">
            
                <a href="../005_EBS/006_描述性弹性域.html">
            
                    
                    006_描述性弹性域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../005_EBS/007_编译.html">
            
                <a href="../005_EBS/007_编译.html">
            
                    
                    007_编译
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../005_EBS/008_界面数据查询.html">
            
                <a href="../005_EBS/008_界面数据查询.html">
            
                    
                    008_界面数据查询
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../005_EBS/009_获取当前lov查询语句.html">
            
                <a href="../005_EBS/009_获取当前lov查询语句.html">
            
                    
                    009_获取当前lov查询语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="../005_EBS/010_表后缀.html">
            
                <a href="../005_EBS/010_表后缀.html">
            
                    
                    010_表后缀
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.11" data-path="../005_EBS/011_银行.html">
            
                <a href="../005_EBS/011_银行.html">
            
                    
                    011_银行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.12" data-path="../005_EBS/012_错误代码及解释.html">
            
                <a href="../005_EBS/012_错误代码及解释.html">
            
                    
                    012_错误代码及解释
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.13" data-path="../005_EBS/013_WEBADI.html">
            
                <a href="../005_EBS/013_WEBADI.html">
            
                    
                    013_WEBADI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.14" data-path="../005_EBS/014_请求参数间影响.html">
            
                <a href="../005_EBS/014_请求参数间影响.html">
            
                    
                    014_请求参数间影响
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.15" data-path="../005_EBS/015_FNDLOAD.html">
            
                <a href="../005_EBS/015_FNDLOAD.html">
            
                    
                    015_FNDLOAD
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.16" data-path="../005_EBS/016_配置文件.html">
            
                <a href="../005_EBS/016_配置文件.html">
            
                    
                    016_配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.17" data-path="../005_EBS/017_科目余额.html">
            
                <a href="../005_EBS/017_科目余额.html">
            
                    
                    017_科目余额
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.18" data-path="../005_EBS/018_供应商与客户.html">
            
                <a href="../005_EBS/018_供应商与客户.html">
            
                    
                    018_供应商与客户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.19" data-path="../005_EBS/019_日记账.html">
            
                <a href="../005_EBS/019_日记账.html">
            
                    
                    019_日记账
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.20" data-path="../005_EBS/020_WebService发布与删除.html">
            
                <a href="../005_EBS/020_WebService发布与删除.html">
            
                    
                    020_WebService发布与删除
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.21" data-path="../005_EBS/021_报表开发.html">
            
                <a href="../005_EBS/021_报表开发.html">
            
                    
                    021_报表开发
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../006_FORM/001_数字格式设置.html">
            
                <a href="../006_FORM/001_数字格式设置.html">
            
                    
                    006_FORM
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../006_FORM/001_数字格式设置.html">
            
                <a href="../006_FORM/001_数字格式设置.html">
            
                    
                    001_数字格式设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../006_FORM/002_Form状态.html">
            
                <a href="../006_FORM/002_Form状态.html">
            
                    
                    002_Form状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../006_FORM/003_窗口消息.html">
            
                <a href="../006_FORM/003_窗口消息.html">
            
                    
                    003_窗口消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../006_FORM/004_Form环境配置.html">
            
                <a href="../006_FORM/004_Form环境配置.html">
            
                    
                    004_Form环境配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../006_FORM/005_打开窗口.html">
            
                <a href="../006_FORM/005_打开窗口.html">
            
                    
                    005_打开窗口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../006_FORM/006_日历LOV.html">
            
                <a href="../006_FORM/006_日历LOV.html">
            
                    
                    006_日历LOV
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="../006_FORM/007_form系统变量.html">
            
                <a href="../006_FORM/007_form系统变量.html">
            
                    
                    007_form系统变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.8" data-path="../006_FORM/008_层级与安全.html">
            
                <a href="../006_FORM/008_层级与安全.html">
            
                    
                    008_层级与安全
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.9" data-path="../006_FORM/009_item间关联.html">
            
                <a href="../006_FORM/009_item间关联.html">
            
                    
                    009_item间关联
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.10" data-path="../006_FORM/010_FORM界面数字百分比显示.html">
            
                <a href="../006_FORM/010_FORM界面数字百分比显示.html">
            
                    
                    010_FORM界面数字百分比显示
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../007_工具/001_ASCLL对照表.html">
            
                <a href="../007_工具/001_ASCLL对照表.html">
            
                    
                    007_工具
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../007_工具/001_ASCLL对照表.html">
            
                <a href="../007_工具/001_ASCLL对照表.html">
            
                    
                    001_ASCLL对照表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../007_工具/002_HTML转义字符.html">
            
                <a href="../007_工具/002_HTML转义字符.html">
            
                    
                    002_HTML转义字符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../007_工具/003_HTTP CONTENT_TYPE.html">
            
                <a href="../007_工具/003_HTTP CONTENT_TYPE.html">
            
                    
                    003_HTTP CONTENT_TYPE
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../007_工具/004_HTTP状态码详解.html">
            
                <a href="../007_工具/004_HTTP状态码详解.html">
            
                    
                    004_HTTP状态码详解
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >004_http请求</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="http&#x76F8;&#x5173;">http&#x76F8;&#x5173;</h1>
<h2 id="http&#x534F;&#x8BAE;&#x7ED3;&#x6784;">http&#x534F;&#x8BAE;&#x7ED3;&#x6784;</h2>
<h3 id="&#x8BF7;&#x6C42;&#x62A5;&#x6587;&#xFF1A;">&#x8BF7;&#x6C42;&#x62A5;&#x6587;&#xFF1A;</h3>
<p><img src="img/1572254404533.png" alt="1572254404533"></p>
<h4 id="&#x8BF7;&#x6C42;&#x884C;">&#x8BF7;&#x6C42;&#x884C;</h4>
<p>&#x683C;&#x5F0F;&#x4E3A;&#xFF1A;Method Request-URI HTTP-Version &#x7ED3;&#x5C3E;&#x7B26;(/r/n)</p>
<h4 id="&#x8BF7;&#x6C42;&#x5934;">&#x8BF7;&#x6C42;&#x5934;</h4>
<p>Accept&#xFF1A;&#x6D4F;&#x89C8;&#x5668;&#x53EF;&#x63A5;&#x53D7;&#x7684;MIME&#x7C7B;&#x578B;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x4EE3;&#x8868;&#x7740;&#x6D4F;&#x89C8;&#x5668;&#x5E0C;&#x671B;&#x63A5;&#x6536;&#x4EC0;&#x4E48;&#x6837;&#x7684;&#x6587;&#x4EF6;</p>
<p>Accept-Charset&#xFF1A;&#x6D4F;&#x89C8;&#x5668;&#x53EF;&#x63A5;&#x53D7;&#x7684;&#x5B57;&#x7B26;&#x96C6;</p>
<p>Accept-Encoding&#xFF1A;&#x6D4F;&#x89C8;&#x5668;&#x80FD;&#x591F;&#x8FDB;&#x884C;&#x89E3;&#x7801;&#x7684;&#x6570;&#x636E;&#x7F16;&#x7801;&#x65B9;&#x5F0F;</p>
<p>Accept-Language&#xFF1A;&#x6D4F;&#x89C8;&#x5668;&#x6240;&#x63A5;&#x53D7;&#x7684;&#x8BED;&#x8A00;</p>
<p>Authorization&#xFF1A;&#x6388;&#x6743;&#x4FE1;&#x606F;</p>
<p>Content-Length&#xFF1A;&#x8868;&#x793A;&#x8BF7;&#x6C42;&#x6D88;&#x606F;&#x6B63;&#x6587;&#x7684;&#x957F;&#x5EA6;</p>
<p>Host&#xFF1A;&#x5BA2;&#x6237;&#x673A;&#x901A;&#x8FC7;&#x8FD9;&#x4E2A;&#x5934;&#x544A;&#x8BC9;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x60F3;&#x8BBF;&#x95EE;&#x7684;&#x4E3B;&#x673A;&#x540D;</p>
<p>If-Modified-Since&#xFF1A;&#x5BA2;&#x6237;&#x673A;&#x901A;&#x8FC7;&#x8FD9;&#x4E2A;&#x5934;&#x544A;&#x8BC9;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x8D44;&#x6E90;&#x7684;&#x7F13;&#x5B58;&#x65F6;&#x95F4;</p>
<p>Referer:&#x8868;&#x660E;&#x5BA2;&#x6237;&#x673A;&#x662F;&#x4ECE;&#x54EA;&#x91CC;&#x6765;&#x7684;</p>
<p>User-Agent&#xFF1A;User-Agent&#x5934;&#x57DF;&#x7684;&#x5185;&#x5BB9;&#x5305;&#x542B;&#x53D1;&#x51FA;&#x8BF7;&#x6C42;&#x7684;&#x7528;&#x6237;&#x4FE1;&#x606F;&#xFF0C;&#x6D4F;&#x89C8;&#x5668;&#x7C7B;&#x578B;</p>
<p>Pragma&#xFF1A;&#x6307;&#x5B9A;&#x201C;no-cache&#x201D;&#x503C;&#x8868;&#x793A;&#x670D;&#x52A1;&#x5668;&#x5FC5;&#x987B;&#x8FD4;&#x56DE;&#x4E00;&#x4E2A;&#x5237;&#x65B0;&#x540E;&#x7684;&#x6587;&#x6863;&#xFF0C;&#x5373;&#x4F7F;&#x5B83;&#x662F;&#x4EE3;&#x7406;&#x670D;&#x52A1;&#x5668;&#x800C;&#x4E14;&#x5DF2;&#x7ECF;&#x6709;&#x4E86;&#x9875;&#x9762;&#x7684;&#x672C;&#x5730;&#x62F7;&#x8D1D;&#x3002;</p>
<p>Connection&#xFF1A;&#x5904;&#x7406;&#x5B8C;&#x8FD9;&#x6B21;&#x8BF7;&#x6C42;&#x540E;&#x662F;&#x5426;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;&#x8FD8;&#x662F;&#x7EE7;&#x7EED;&#x4FDD;&#x6301;&#x8FDE;&#x63A5;&#x3002;</p>
<p>UA-Pixels&#xFF0C;UA-Color&#xFF0C;UA-OS&#xFF0C;UA-CPU&#xFF1A;&#x7531;&#x67D0;&#x4E9B;&#x7248;&#x672C;&#x7684;IE&#x6D4F;&#x89C8;&#x5668;&#x6240;&#x53D1;&#x9001;&#x7684;&#x975E;&#x6807;&#x51C6;&#x7684;&#x8BF7;&#x6C42;&#x5934;&#xFF0C;&#x8868;&#x793A;&#x5C4F;&#x5E55;&#x5927;&#x5C0F;&#x3001;&#x989C;&#x8272;&#x6DF1;&#x5EA6;&#x3001;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x548C;CPU&#x7C7B;&#x578B;&#x3002;</p>
<h3 id="&#x54CD;&#x5E94;&#x62A5;&#x6587;&#xFF1A;">&#x54CD;&#x5E94;&#x62A5;&#x6587;&#xFF1A;</h3>
<p><img src="img/1572254382493.png" alt="1572254382493"></p>
<h4 id="&#x54CD;&#x5E94;&#x884C;">&#x54CD;&#x5E94;&#x884C;</h4>
<p>&#x683C;&#x5F0F;&#x4E3A;&#xFF1A;Method Request-URI HTTP-Version &#x7ED3;&#x5C3E;&#x7B26;(/r/n)</p>
<h4 id="&#x54CD;&#x5E94;&#x5934;">&#x54CD;&#x5E94;&#x5934;</h4>
<p>Allow&#xFF1A;&#x670D;&#x52A1;&#x5668;&#x652F;&#x6301;&#x54EA;&#x4E9B;&#x8BF7;&#x6C42;&#x65B9;&#x6CD5;(&#x5982;GET&#x3001;POST&#x7B49;)&#x3002;</p>
<p>Content-Encoding&#xFF1A;&#x6587;&#x6863;&#x7684;&#x7F16;&#x7801;(Encode)&#x65B9;&#x6CD5;&#x3002;</p>
<p>Content-Length&#xFF1A;&#x8868;&#x793A;&#x5185;&#x5BB9;&#x957F;&#x5EA6;&#x3002;&#x53EA;&#x6709;&#x5F53;&#x6D4F;&#x89C8;&#x5668;&#x4F7F;&#x7528;&#x6301;&#x4E45;HTTP&#x8FDE;&#x63A5;&#x65F6;&#x624D;&#x9700;&#x8981;&#x8FD9;&#x4E2A;&#x6570;&#x636E;&#x3002;</p>
<p>Content- Type&#xFF1A;&#x8868;&#x793A;&#x540E;&#x9762;&#x7684;&#x6587;&#x6863;&#x5C5E;&#x4E8E;&#x4EC0;&#x4E48;MIME&#x7C7B;&#x578B;</p>
<p>Expires&#xFF1A;&#x544A;&#x8BC9;&#x6D4F;&#x89C8;&#x5668;&#x628A;&#x56DE;&#x9001;&#x7684;&#x8D44;&#x6E90;&#x7F13;&#x5B58;&#x591A;&#x957F;&#x65F6;&#x95F4;&#xFF0C;-1&#x6216;0&#x5219;&#x662F;&#x4E0D;&#x7F13;&#x5B58;</p>
<p>Server&#xFF1A;&#x670D;&#x52A1;&#x5668;&#x901A;&#x8FC7;&#x8FD9;&#x4E2A;&#x5934;&#x544A;&#x8BC9;&#x6D4F;&#x89C8;&#x5668;&#x670D;&#x52A1;&#x5668;&#x7684;&#x7C7B;&#x578B;</p>
<p>WWW-Authenticate&#xFF1A;&#x5BA2;&#x6237;&#x5E94;&#x8BE5;&#x5728;Authorization&#x5934;&#x4E2D;&#x63D0;&#x4F9B;&#x4EC0;&#x4E48;&#x7C7B;&#x578B;&#x7684;&#x6388;&#x6743;&#x4FE1;&#x606F;</p>
<h2 id="http&#x8BF7;&#x6C42;&#x76F8;&#x5173;&#x4F8B;&#x5B50;">http&#x8BF7;&#x6C42;&#x76F8;&#x5173;&#x4F8B;&#x5B50;</h2>
<p>&#x524D;&#x63D0;&#x6761;&#x4EF6;&#xFF1A;dbms_network_acl_admin&#x7B49;&#x76F8;&#x5173;&#x5E94;&#x7528;&#x5DF2;&#x5B89;&#x88C5;</p>
<h3 id="&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x6587;&#x4EF6;&#xFF08;acl&#xFF09;&#x914D;&#x7F6E;">&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x6587;&#x4EF6;&#xFF08;ACL&#xFF09;&#x914D;&#x7F6E;</h3>
<p>&#x521B;&#x5EFA;&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x6587;&#x4EF6;&#xFF08;ACL&#xFF09;</p>
<pre><code class="lang-plsql">BEGIN
  dbms_network_acl_admin.create_acl( -- &#x521B;&#x5EFA;&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x6587;&#x4EF6;&#xFF08;ACL&#xFF09;
                                    acl         =&gt; &apos;/sys/acls/OracleTEST.xml&apos;, -- &#x6587;&#x4EF6;&#x540D;&#x79F0;
                                    description =&gt; &apos;EBS &#x8FDE;&#x63A5; &#x7ED3;&#x7B97;&#x6D4B;&#x8BD5;&#x73AF;&#x5883;&apos;, -- &#x63CF;&#x8FF0;
                                    principal   =&gt; &apos;APPS&apos;, -- &#x6388;&#x6743;&#x6216;&#x8005;&#x53D6;&#x6D88;&#x6388;&#x6743;&#x8D26;&#x53F7;&#xFF0C;&#x5927;&#x5C0F;&#x5199;&#x654F;&#x611F;&#xFF08;&#x7528;&#x5927;&#x5199;&#x53EF;&#x4EE5;&#xFF0C;&#x5C0F;&#x5199;&#x62A5;&#x9519;&#xFF09;
                                    is_grant    =&gt; TRUE, -- &#x6388;&#x6743;&#x8FD8;&#x662F;&#x53D6;&#x6D88;&#x6388;&#x6743;
                                    privilege   =&gt; &apos;connect&apos;, -- &#x6388;&#x6743;&#x6216;&#x8005;&#x53D6;&#x6D88;&#x6388;&#x6743;&#x7684;&#x6743;&#x9650;&#x5217;&#x8868;
                                    start_date  =&gt; SYSDATE, -- &#x8D77;&#x59CB;&#x65E5;&#x671F; &#x6700;&#x597D;&#x5199;&#x4E0A;&#x8D77;&#x59CB;&#x65E5;&#x671F;&#xFF0C;&#x6CA1;&#x5199;&#x6743;&#x9650;&#x4E00;&#x4F1A;&#x5C31;&#x5931;&#x6548;
                                    end_date    =&gt; NULL -- &#x7ED3;&#x675F;&#x65E5;&#x671F; &#x6700;&#x597D;&#x5199;&#x4E0A;&#x8D77;&#x59CB;&#x65E5;&#x671F;&#xFF0C;&#x6CA1;&#x5199;&#x6743;&#x9650;&#x4E00;&#x4F1A;&#x5C31;&#x5931;&#x6548;
                                    );
END;
</code></pre>
<p>&#x6DFB;&#x52A0;&#x7528;&#x6237;</p>
<pre><code class="lang-plsql">BEGIN
  dbms_network_acl_admin.add_privilege( -- &#x6DFB;&#x52A0;&#x8BBF;&#x95EE;&#x6743;&#x9650;&#x5217;&#x8868;&#x9879;
                                       acl        =&gt; &apos;/sys/acls/OracleTEST.xml&apos;, -- &#x521A;&#x624D;&#x521B;&#x5EFA;&#x7684;acl&#x540D;&#x79F0;
                                       principal  =&gt; &apos;APPS&apos;, -- &#x6388;&#x6743;&#x6216;&#x53D6;&#x6D88;&#x6388;&#x6743;&#x7528;&#x6237;
                                       is_grant   =&gt; TRUE, -- &#x4E0E;&#x4E0A;&#x540C;
                                       privilege  =&gt; &apos;resolve&apos;, -- &#x6743;&#x9650;&#x5217;&#x8868;
                                       start_date =&gt; SYSDATE,
                                       end_date   =&gt; NULL);
END;
</code></pre>
<p>&#x4E3A;&#x7F51;&#x7EDC;&#x5206;&#x914D;&#x63A7;&#x5236;&#x5217;&#x8868;</p>
<pre><code class="lang-plsql">BEGIN
  dbms_network_acl_admin.assign_acl( -- &#x8BE5;&#x6BB5;&#x547D;&#x4EE4;&#x610F;&#x601D;&#x662F;&#x5141;&#x8BB8;&#x8BBF;&#x95EE;acl&#x540D;&#x4E3A;OracleTEST.xml&#x4E0B;&#x6388;&#x6743;&#x7684;&#x7528;&#x6237;&#xFF0C;&#x4F7F;&#x7528;oracle&#x7F51;&#x7EDC;&#x8BBF;&#x95EE;&#x5305;&#xFF0C;&#x6240;&#x5141;&#x8BB8;&#x8BBF;&#x95EE;&#x7684;&#x76EE;&#x7684;&#x4E3B;&#x673A;&#xFF0C;&#x53CA;&#x5176;&#x7AEF;&#x53E3;&#x8303;&#x56F4;&#x3002;
                                    acl  =&gt; &apos;/sys/acls/OracleTEST.xml&apos;,
                                    host =&gt; &apos;jrsc.willdonner.top&apos; -- ip&#x5730;&#x5740;&#x6216;&#x8005;&#x57DF;&#x540D;&#xFF0C;&#x586B;&#x5199;http://localhost:9000/hello&#x4E0E;http://localhost:9000/&#x662F;&#x4F1A;&#x62A5;host&#x65E0;&#x6548;&#x7684;
                                    -- &#x4E14;&#x5EFA;&#x8BAE;&#x4F7F;&#x7528;ip&#x5730;&#x5740;&#x6216;&#x8005;&#x4F7F;&#x7528;&#x57DF;&#x540D;&#xFF0C;&#x82E5;&#x7528;localhost&#xFF0C;&#x5F53;oracle&#x4E0D;&#x662F;&#x5B89;&#x88C5;&#x5728;&#x672C;&#x673A;&#x4E0A;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x4F1A;&#x51FA;&#x73B0;&#x95EE;&#x9898;
                                    --lower_port =&gt; 8000, -- &#x5141;&#x8BB8;&#x8BBF;&#x95EE;&#x7684;&#x8D77;&#x59CB;&#x7AEF;&#x53E3;&#x53F7;
                                    --upper_port =&gt; 8100 -- &#x5141;&#x8BB8;&#x8BBF;&#x95EE;&#x7684;&#x622A;&#x6B62;&#x7AEF;&#x53E3;&#x53F7;
                                    );
END;
</code></pre>
<h3 id="&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x6587;&#x4EF6;&#xFF08;acl&#xFF09;&#x67E5;&#x770B;">&#x8BBF;&#x95EE;&#x63A7;&#x5236;&#x6587;&#x4EF6;&#xFF08;ACL&#xFF09;&#x67E5;&#x770B;</h3>
<pre><code class="lang-plsql">--&#x67E5;&#x8BE2;&#x6570;&#x636E;&#x5E93;&#x4E2D;&#x6CE8;&#x518C;&#x8FC7;&#x7684;ACL 
SELECT /*acl,
       principal,
       privilege,
       is_grant,
       TO_CHAR(start_date, &apos;DD-MON-YYYY&apos;) AS start_date,
       TO_CHAR(end_date, &apos;DD-MON-YYYY&apos;) AS end_date
       */
 *
  FROM DBA_NETWORK_ACL_PRIVILEGES;
</code></pre>
<pre><code class="lang-plsql">--&#x67E5;&#x8BE2;&#x6570;&#x636E;&#x5E93;&#x4E2D;&#x6CE8;&#x518C;&#x7684;ACL&#x5BF9;&#x5E94;&#x7684;&#x670D;&#x52A1;&#x5668;&#x5730;&#x5740;

SELECT /*host,
       lower_port,
       upper_port,
       acl*/
 *
  FROM DBA_NETWORK_ACLS;
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="003_数据库启停.html" class="navigation navigation-prev " aria-label="Previous page: 003_数据库启停">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="005_NULL处理.html" class="navigation navigation-next " aria-label="Next page: 005_NULL处理">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"004_http请求","level":"1.5.4","depth":2,"next":{"title":"005_NULL处理","level":"1.5.5","depth":2,"path":"004_Oracle/005_NULL处理.md","ref":"004_Oracle/005_NULL处理.md","articles":[]},"previous":{"title":"003_数据库启停","level":"1.5.3","depth":2,"path":"004_Oracle/003_数据库启停.md","ref":"004_Oracle/003_数据库启停.md","articles":[]},"dir":"ltr"},"config":{"plugins":["github","splitter","-lunr","-search","search-plus","simple-page-toc","copy-code-button","page-toc-button","back-to-top-button","chapter-fold","auto-scroll-table","-sharing","livereload"],"root":".","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"chapter-fold":{},"github":{"url":"https://github.com/xiajiajinxuan"},"livereload":{},"simple-page-toc":{"maxDepth":3,"skipFirstH1":false},"splitter":{},"auto-scroll-table":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"page-toc-button":{"maxTocDepth":2,"minTocSize":2},"back-to-top-button":{},"copy-code-button":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{}},"theme":"default","author":"xiajiajinxuan","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"瑕家瑾轩_Note","language":"zh-hans","gitbook":"*","description":"瑕家瑾轩_Note"},"file":{"path":"004_Oracle/004_http请求.md","mtime":"2020-06-10T10:07:48.435Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-08-17T07:13:06.707Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-auto-scroll-table/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

